package com.zbkj.common.model.shop;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import lombok.extern.slf4j.Slf4j;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Slf4j
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("eb_shop_type_commission")
@ApiModel(value = "店铺类型佣金设置", description = "店铺类型佣金设置")
public class EbShopTypeCommission implements Serializable {
    private static final long serialVersionUID = 122125144112513412L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 店铺类型id
     */
    private Integer shopTypeId;
    /**
     * 产品分类id
     */
    private Integer productClassificationId;
    /**
     * 产品分类名称
     */
    private String productClassificationName;
    /**
     * 抽佣比例(%)
     */
    private BigDecimal commissionRatio;
    /**
     * 0平台 1自营 2其他
     */
    private Integer type;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 更新时间
     */
    private Date updateTime;
}
